package com.yonyou.pmclouds.repairlog.service.rmiitf;

import com.yonyou.pmclouds.basecom.exception.BusinessException;
import com.yonyou.pmclouds.repairlog.entity.RepairLogVO;

public interface RepairLogService {
    /**
     * 添加整改内容
     * @param vos
     * @return
     * @throws BusinessException
     */
    RepairLogVO add(RepairLogVO vos) throws BusinessException;
    /**
     * 查询问题记录单下面的整改内容
     * @param pk_problemlog
     * @return
     * @throws BusinessException
     */
    RepairLogVO[] query(String pk_problemlog) throws BusinessException;
    /**
     * 修改整改记录
     * @param vo
     * @param fields
     * @return
     * @throws BusinessException
     */
    RepairLogVO update(RepairLogVO vo, String[] fields) throws BusinessException;

    RepairLogVO queryOne(String pk_repair) throws BusinessException;
}
